/**
 * 数据库初始化脚本
 * 
 */

var sequelize = require('./_db.js');
var Shoplist = sequelize.import('./Shoplist.js');
var Shopinfo = sequelize.import('./Shopinfo.js');




// 建立模型之间的关系




//sequelize.sync({force: true}); //如果表已经存在，删除并且自动创建表
sequelize.sync();

exports = module.exports = sequelize;
exports.Shoplist = Shoplist;
exports.Shopinfo = Shopinfo;
